home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Utilities Professional 1-1500
/
Utilities Professional 1-1500 (1994)(WPD)[!].iso
/
12511500
/
var1432.dms
/
var1432.adf
/
NDUK-V40.lha
/
V40
/
include
/
libraries
/
mathieeedp.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-15
|
2KB
|
78 lines
#ifndef LIBRARIES_MATHIEEEDP_H
#define LIBRARIES_MATHIEEEDP_H
/*
** $VER: mathieeedp.h 1.1 (13.7.90)
** Includes Release 40.15
** Include file to use for <math.h>
**
** (C) Copyright 1987-1993 Commodore-Amiga, Inc.
** All Rights Reserved
*/
#ifndef PI
#define PI ((double) 3.141592653589793))
#endif
#define TWO_PI (((double) 2) * PI)
#define PI2 (PI/((double)2))
#define PI4 (PI/((double)4))
#ifndef E
#define E ((double) 2.718281828459045)
#endif
#define LOG10 ((double) 2.302585092994046)
#define FPTEN ((double) 10.0)
#define FPONE ((double) 1.0)
#define FPHALF ((double) 0.5)
#define FPZERO ((double) 0.0)
#define trunc(x) ((int) (x))
#define round(x) ((int) ((x) + 0.5))
#define itof(i) ((double) (i))
#define fabs IEEEDPAbs
#define floor IEEEDPFloor
#define ceil IEEEDPCeil
#define tan IEEEDPTan
#define atan IEEEDPAtan
#define cos IEEEDPCos
#define acos IEEEDPAcos
#define sin IEEEDPSin
#define asin IEEEDPAsin
#define exp IEEEDPExp
#define pow(a,b) IEEEDPPow((b),(a))
#define log IEEEDPLog
#define log10 IEEEDPLog10
#define sqrt IEEEDPSqrt
#define sinh IEEEDPSinh
#define cosh IEEEDPCosh
#define tanh IEEEDPTanh
double IEEEDPTan(),IEEEDPAtan();
double IEEEDPCos(),IEEEDPACos();
double IEEEDPSin(),IEEEDPASin();
double IEEEDPExp(),IEEEDPLog();
double IEEEDPSqrt();
double IEEEDPLog10(),IEEEDPPow();
double IEEEDPSincos();
double IEEEDPSinh(),IEEEDPCosh(),IEEEDPTanh();
float IEEEDPTieee();
double IEEEDPFieee();
int IEEEDPFix();
int IEEEDPCmp(),IEEEDPTst();
double IEEEDPFlt();
double IEEEDPAbs();
double IEEEDPNeg();
double IEEEDPAdd();
double IEEEDPSub();
double IEEEDPMul();
double IEEEDPDiv();
double IEEEDPFloor();
double IEEEDPCeil();
#endif /* LIBRARIES_MATHIEEEDP_H */